static int _dialog_item_focused = 0;
static int _dialog_item_selected = -1;
static int _dialog_width = s_iWidth;
static int _dialog_height = 40;
static int _dialog_x = 0;
static int _dialog_y = 0;


static int[] _main_menu_dialog = 
{
	TEXT.MENU_MM_CONFIRM,
	TEXT.MENU_YES,
	TEXT.MENU_NO,
};

static int[] _exit_dialog = 
{
	TEXT.MENU_EXIT_CONFIRM,
	TEXT.MENU_YES,
	TEXT.MENU_NO,
};

static void InitConfirmDialog(int[] _menu_dialog)
{
	_dialog_item_selected = -1;
	
	_dialog_x = 0;
	_dialog_y = 100;	
	
	_dialog_width = s_iWidth;
	_dialog_height = _menu_dialog.length * (MENU_HEIGHT + _menu_spacing) + 20;
	
	_menu_x = (s_iWidth - MENU_WIDTH)/2;
	_menu_y = _dialog_y + 50;	
}